package com.javase.A05;

import java.util.Scanner;

public class SY1 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        double c = (a + b) / 2;
        int max;
        if (a>b)
            max=a;
        else
            max=b;
        System.out.println("平均值：" + c);
        System.out.println("最大值：" + max);
    }

}
